package com.example.othree.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.othree.entity.Drone;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
public interface DroneMapper extends BaseMapper<Drone> {
    List<Drone> correctedList(Page<Drone> dronePage, String equipmentName, String startTime, String endTime, Integer elevationLimit);
    List<Drone> notCorrectedList(Page<Drone> dronePage, String equipmentName, String startTime, String endTime, Integer elevationLimit);
}
